# $Id: PKGBUILD 67730 2012-03-14 09:57:46Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>  
# Contributor: Tomas Acauan Schertel <tschertel@gmail.com>

pkgname=pspshrink
pkgver=1.1.2
pkgrel=3
pkgdesc="PSP Shrink allows you to shrink your isos to the cso format."
arch=('i686' 'x86_64')
url="http://code.google.com/p/pspshrink/"
license=('GPL2')
makedepends=('gtkmm')
optdepends=('gtkmm: To use pspshrinkui ')
install=$pkgname.install
source=(http://pspshrink.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('c9f7dc58c983016047ceebbacb9856e9')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}
